{admin title="My Feed"}
	{include file="file:$theme_global/_messages.tpl"}
	<div class="title">
		<h1>{t}My Feed{/t}</h1>
	</div>
	<a href="{url}/watch/rss/{$loggedInUsername}{/url}">{t}Subscribe to My Feed via RSS{/t}</a>
	{if count($feeditems) gt 0}
		{if $enable_paging}
			{include file="file:$theme_global/_pager.tpl"}
		{/if}
		<ol>
			{foreach from=$feeditems item=feeditem key=index}
				<li>
					{if $feeditem.thumb_url ne null and $feeditem.thumb_url ne ''}
						<!-- TODO - make thumb link variable and not just link to the author page -->
						<a href="{url}/default/user/profile/{$feeditem.author}{/url}"><img
							src="{$feeditem.thumb_url}" width="48" height="48" alt="" /></a>
						<!-- TODO - make the thumbnail dimensions variable -->
						<!-- TODO - put something in the alt tag -->
					{/if}
					<a href="{$feeditem.url}">{$feeditem.title}</a>
					<span>{$feeditem.howlongago}</span>
					<p>{$feeditem.description}</p>
				</li>
			{/foreach}
		</ol>
	{else}
		<p>
			{t}Your feed is empty.{/t}
		</p>
	{/if}
{/admin}
